package design.p10_bridge;

import design.p7_decorator.Sourceable;

/**
 * @ClassName: Java
 * @description:
 * @author: zxf
 * @create: 2021-06-18 12:08
 **/
public abstract class Bridge {

    private Sourceable source;

    public void method(){
        source.method();
    }

    public Sourceable getSource() {
        return source;
    }

    public void setSource(Sourceable source) {
        this.source = source;
    }
}

